/* 公共样式 */
/* 字符集声明 */
@charset "utf-8";

/* 内外边距默认样式去掉 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
dl,
dd,
dt,
li,
ol {
    margin: 0;
    padding: 0;
}

/* 列表去掉小圆点 */
ul,
ol {
    list-style: none;
}

/* 去掉a的下划线 */
a {
    text-decoration: none;
}

/* 垂直对齐 */
img {
    vertical-align: bottom;
}

/* 版心 */
.container {
    width: 1200px;
    margin: 0 auto;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
}
//加粗
.bold{
    font-weight: bold;
}
//头部公共样式
header {
    /* 保证屏幕最小宽度为版心宽度 */
    min-width: 1200px;
    a {
        color: #fff;
    }
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    border-bottom: 1px solid #ccc;
    line-height: 70px;
    position: absolute;
    z-index: 50;
    .logodiv {
        height: 70px;
        width: 130px;
    }
    .register {
        background-color: rgb(237, 81, 10);
        border: none;
        height: 30px;
        width: 90px;
        border-radius: 15px;
    }
    .login {
        border: 1px solid green;
        padding: 3px 15px;
        border-radius: 25px;
        font-size: 14px;
        margin-right: 15px;
        border: 1px solid #ccc;
        background: rgba(255, 255, 255, 0.1);
    }
    .img {
        .logo {
            position: absolute;
            top: 50%;
            transform: translateY(-25%);
        }
    }
    nav {
        display: flex;
        justify-content: space-around;
        a {
            margin: 0 8px;
        }
        a.active {
            padding-bottom: 20px;
            font-size: 18px;
            border-bottom: 2px solid rgb(1, 189, 255);
            line-height: 65px;
            color: rgb(1, 189, 255);
        }
    }
}


//footer公共样式
footer {
    height: 430px;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .footerleft {
        display: flex;
        justify-content: space-between;
    }
    .ul1 {
        display: flex;
        height: 240px;
        width: 760px;
        justify-content: space-between;

        li {
            height: 240px;
            width: 115px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;


        }
    }

    //   所有的H2和A样式
    h2 {
        margin-bottom: 30px;
        font-size: 18px;
        font-weight: bold;
    }

    // background-color: rgb(101, 30, 30);
    a {
        display: block;
        color: rgb(184, 184, 184);
        margin: 15px 0;
    }

    .ul2 {
        height: 240px;
        width: 190px;
        // background-color: rgb(60, 173, 103);
        text-align: right;

        img {
            width: 110px;
        }

    }
        //脚步最下边的版权说明
        .copyright{
            display: flex;
            justify-content: space-between;
            color: rgb(184, 184, 184);
            height: 45px;
            line-height: 45px;
            img{
                vertical-align:baseline;
            }
        }
}
//回到顶部
.gotop{
    position: fixed;
    width: 50px;
    bottom: 50px;
    margin-left: 625px;
    height: 50px;
    left: 50%;
    cursor: pointer;
}


main {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;

    //登录表单
    .loginritht {
        width: 100%;
        height: 100%;
        position: relative;


        //登录表单的绝对居中 主体
        .modol {
            height: 510px;
            width: 400px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #fff;
            // background-color: rgb(119, 214, 154);
            //源码大数据头部logo图片
            img {
                display: block;
                margin: 30px auto;


            }

            //选项卡头部菜单
            ul {
                height: 50px;
                width: 200px;
                display: flex;
                justify-content: space-between;
                margin: 35px auto;
                line-height: 50px;
                position: relative;

                //  <!-- 选项卡菜单账号注册扫码登录 -->
                li {
                    font-size: 16px;
                    cursor: pointer;
                    position: relative;
                    padding: none !important;
                    border: none !important;

                    //点击添加类名颜色改变
                    &.active {
                        color: #00bdff;
                    }

                    &.active span {
                        display: inline-block;
                        height: 3px;
                        width: 54px;
                        position: absolute;
                        background-color: #00bdff;

                        right: 15px;
                        top: 42px;
                    }
                }

                // 登录表单抬头灰色分割竖线条
                .on {
                    position: absolute;
                    height: 18px;
                    width: 3px;
                    background-color: #eee;
                    top: 23px;
                    right: 102px;
                }
            }

            //表单主体
            .tab-content {
                height: 355px;
                width: 100%;
                padding: 0 20px;

                //两个删除Icon图标
                .nameshanchu,
                .paswdsahnchu {
                    font-size: 18px;
                    position: absolute;
                    top: 15px;
                    right: 7px;
                    cursor: pointer;
                    display: none;
                }

                //用户和密码图标
                .icon-yonghu,
                .icon-mima {
                    position: absolute;
                    left: -2px;
                    top: 6px;
                    display: inline-block;
                    height: 25px;
                    width: 25px;
                    font-size: 24px;
                    color: rgb(0, 167, 242);
                    font-weight: 900;

                }

                //选项卡第一部分账号注册 进来先隐藏display: none;
                .tab-content-laft {
                    //进来先隐藏
                    display: none;

                    //用户名手机号输入框
                    p:nth-child(1) {
                        position: relative;

                        input {
                            display: block;
                            width: 100%;
                            height: 40px;
                            border: none;
                            outline: none;
                            border-bottom: 1px solid #e7e7e7;
                            text-indent: 25px;
                            line-height: 40px;
                            font-size: 12px;
                            color: #757575;
                            margin-bottom: 20px;
                        }

                        //手机号输入不正确提示文字
                        b {
                            font-size: 12px;
                            color: red;
                            width: 80px;
                            height: 13px;
                            position: absolute;
                            top: 47px;
                            left: 0;
                            display: none;
                        }
                    }

                    //密码输入框 
                    p:nth-child(2) {
                        position: relative;

                        input {
                            display: block;
                            width: 100%;
                            height: 40px;
                            border: none;
                            outline: none;
                            border-bottom: 1px solid #e7e7e7;
                            text-indent: 25px;
                            line-height: 40px;
                            font-size: 12px;
                            color: #757575;
                            margin-bottom: 20px;

                        }

                        //密码输入不正确提示文字
                        b {
                            font-size: 12px;
                            color: red;
                            width: 84px;
                            height: 13px;
                            position: absolute;
                            top: 47px;
                            left: 0;
                            display: none;
                        }
                    }

                    //忘记密码？
                    p:nth-child(3) {
                        text-align: right;
                        margin-bottom: 20px;
                        color: #00bdff;
                        cursor: pointer;
                    }

                    //按钮
                    button {
                        display: block;
                        height: 45px;
                        width: 360px;
                        margin: 0 auto;
                        border: none;
                        outline: none;
                        background-color: #00bdff;
                        color: #fff;
                        margin-bottom: 20px;
                        cursor: pointer;
                    }

                    //没有账号立即注册
                    p:nth-child(5) {
                        color: #757575;

                        a {
                            color: #00bdff;
                            cursor: pointer;
                        }

                        span {
                            display: inline-block;
                            height: 20px;
                            width: 20px;
                            vertical-align: middle;
                            background: url(../../assets/imgs/loginIcon.png);
                            background-position: 110px -36px;
                            cursor: pointer;
                        }
                    }
                }

                //选项卡第二部分扫码登录 进来先隐藏display: none;
                .tab-content-right {
                    //进来先隐藏
                    display: none;

                    p:nth-child(1) {
                        height: 265px;
                        width: 290px;
                        margin: 0 auto;
                        background-color: #cfcfcf;
                        padding-top: 20px;
                        text-align: center;

                        img {
                            display: block;
                            margin: 25px auto;
                        }

                        b {
                            font-weight: normal;
                            margin: 20px auto;
                            font-size: 12px;
                        }

                        span {
                            display: block;
                            font-size: 12px;
                            margin-top: 20px;
                        }

                    }

                    //没有账号立即注册
                    p:nth-child(2) {
                        font-size: 12px;
                        color: #909090;
                        margin-top: 20px;
                        text-align: center;

                        a {
                            color: #00bdff;
                        }

                        span {
                            display: inline-block;
                            height: 20px;
                            width: 20px;
                            background: url(../../assets/imgs/loginIcon.png);
                            background-position: -217px 20px;
                            vertical-align: middle;
                        }
                    }


                }

                //点击添加类名显示display: block;
                .act {
                    display: block;
                }

            }
        }
    }
}